/* ======================================================
   WACHTWOORD GENERATOR - PREMIUM EDITION
   ====================================================== */
.password-card-content {
  max-width: 100%;
  margin: 0 auto;
  padding: 35px;
  background: linear-gradient(145deg, var(--card-bg) 0%, var(--secondary-bg) 100%);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  color: var(--text-color);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.password-card-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-blue), var(--accent-purple));
  background-size: 200% 100%;
  animation: passwordGradientShift 3s ease infinite;
}

@keyframes passwordGradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.password-card-content h1 {
  color: var(--text-primary);
  font-size: 2rem;
  margin-bottom: 8px;
  text-align: center;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.password-intro {
  text-align: center;
  color: #8b92a8;
  font-size: 0.95rem;
  margin-bottom: 30px;
  line-height: 1.6;
  font-weight: 400;
}

/* Main Layout */
.password-main-layout {
  display: flex;
  gap: 30px;
}

.password-settings-column {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.password-output-column {
  flex: 2;
  min-width: 400px;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Settings Panel */
.password-settings {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(45, 55, 72, 0.5);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.password-settings:hover {
  border-color: rgba(147, 51, 234, 0.5);
  box-shadow: 0 0 20px rgba(147, 51, 234, 0.1);
}

.password-settings > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.password-settings label {
  font-weight: 600;
  color: #ffffff;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

/* Slider */
#lengthValue {
  color: #9333ea;
  font-weight: 700;
  font-size: 1.05rem;
}

.password-settings input[type="range"] {
  width: 100%;
  height: 8px;
  border-radius: 10px;
  background: linear-gradient(to right, #9333ea 0%, #2d3748 0%);
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: all 0.3s ease;
}

.password-settings input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9333ea, #7c3aed);
  cursor: pointer;
  border: 3px solid #1a1f2e;
  box-shadow: 0 2px 10px rgba(147, 51, 234, 0.5);
  transition: all 0.2s ease;
}

.password-settings input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 15px rgba(147, 51, 234, 0.7);
}

.password-settings input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9333ea, #7c3aed);
  cursor: pointer;
  border: 3px solid #1a1f2e;
  box-shadow: 0 2px 10px rgba(147, 51, 234, 0.5);
  transition: all 0.2s ease;
}

.password-settings input[type="range"]::-moz-range-thumb:hover {
  transform: scale(1.2);
}

/* Count Buttons */
.password-count-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.password-count-btn {
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(45, 55, 72, 0.5);
  border-radius: 8px;
  color: #8b92a8;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.password-count-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(147, 51, 234, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s;
}

.password-count-btn:hover::before {
  width: 200px;
  height: 200px;
}

.password-count-btn:hover {
  border-color: #3b82f6;
  color: #ffffff;
  transform: translateY(-1px);
}

.password-count-btn.active {
  background: linear-gradient(135deg, #9333ea 0%, #7c3aed 100%);
  border-color: #9333ea;
  color: white;
  box-shadow: 0 4px 15px rgba(147, 51, 234, 0.4);
  transform: translateY(0);
}

.password-count-btn.active:hover {
  box-shadow: 0 6px 20px rgba(147, 51, 234, 0.6);
}

/* Checkboxes */
.password-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.password-checkbox-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.password-checkbox-option:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #9333ea;
  transform: translateX(4px);
}

.password-checkbox-option span {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.password-option-icon {
  font-size: 1.1rem;
}

.password-checkbox-option input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #9333ea;
  flex-shrink: 0;
}

/* Action Buttons */
.password-generator-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.password-actions-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
  align-items: center;
}

.password-btn-primary,
.password-btn-secondary,
.password-btn-reset {
  padding: 14px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.password-btn-primary::before,
.password-btn-secondary::before,
.password-btn-reset::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  pointer-events: none;
}

.password-btn-primary:hover:not(:disabled)::before,
.password-btn-secondary:hover:not(:disabled)::before,
.password-btn-reset:hover::before {
  width: 450px;
  height: 450px;
}

.password-btn-primary {
  background: linear-gradient(135deg, #9333ea 0%, #7c3aed 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(147, 51, 234, 0.4);
}

.password-btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(147, 51, 234, 0.6);
}

.password-btn-primary:active:not(:disabled) {
  transform: translateY(0);
}

.password-btn-primary:disabled {
  background: rgba(45, 55, 72, 0.5);
  color: #6b7280;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  opacity: 0.5;
}

.password-btn-secondary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.password-btn-secondary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}

.password-btn-secondary:active:not(:disabled) {
  transform: translateY(0);
}

.password-btn-secondary:disabled {
  background: rgba(45, 55, 72, 0.5);
  color: #6b7280;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  opacity: 0.5;
}

.password-btn-reset {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.password-btn-reset:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.6);
}

.password-btn-reset:active {
  transform: translateY(0);
}

/* Password Output Container */
.password-output {
  background: radial-gradient(circle at top left, rgba(147, 51, 234, 0.05) 0%, rgba(0, 0, 0, 0.3) 100%);
  border: 2px solid rgba(45, 55, 72, 0.5);
  border-radius: 12px;
  padding: 24px;
  font-family: "Roboto Mono", "Courier New", monospace;
  font-size: 0.9rem;
  font-weight: 700;
  color: #e8e8e8;
  overflow-y: auto;
  max-height: 650px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: 1.5px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.password-output:hover {
  border-color: #9333ea;
  box-shadow: 
    inset 0 2px 8px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(147, 51, 234, 0.2);
}

/* Custom Scrollbar */
.password-output::-webkit-scrollbar {
  width: 8px;
}

.password-output::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

.password-output::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #9333ea 0%, #7c3aed 100%);
  border-radius: 10px;
}

.password-output::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
}

/* Password Items */
.password-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(45, 55, 72, 0.5);
  transition: all 0.2s ease;
}

.password-item:hover {
  background: rgba(0, 0, 0, 0.3);
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateX(2px);
}

.password-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.password-value {
  flex-grow: 1;
  word-break: break-all;
  color: #3b82f6;
  font-weight: 700;
  font-size: 0.95rem;
}

.password-copy-single-btn {
  flex-shrink: 0;
  padding: 8px 14px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.password-copy-single-btn:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.5);
}

.password-copy-single-btn:active {
  transform: translateY(0);
}

.password-item-info {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: #8b92a8;
}

.password-info-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  border: 1px solid rgba(45, 55, 72, 0.5);
}

.password-strength-badge {
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.8rem;
}

.password-strength-badge.weak {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.5);
}

.password-strength-badge.fair {
  background: rgba(249, 115, 22, 0.2);
  color: #f97316;
  border: 1px solid rgba(249, 115, 22, 0.5);
}

.password-strength-badge.good {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.5);
}

.password-strength-badge.strong {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.5);
}

.password-placeholder {
  color: #6b7280;
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  border: 2px dashed rgba(45, 55, 72, 0.5);
}

/* Entropy Display */
.password-entropy {
  text-align: center;
  color: #8b92a8;
  font-size: 0.95rem;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  font-weight: 600;
  border: 1px solid rgba(45, 55, 72, 0.3);
  letter-spacing: 0.5px;
}

/* Feedback Message */
.password-feedback-message {
  text-align: center;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  padding: 12px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.password-feedback-message.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .password-main-layout {
    flex-direction: column;
    gap: 20px;
  }
  .password-settings-column,
  .password-output-column {
    flex: none;
    min-width: unset;
  }

  .password-output {
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  .password-card-content {
    padding: 20px 12px;
    border-radius: 16px;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .password-card-content * {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .password-card-content h1 {
    font-size: 1.5rem;
    margin-bottom: 8px;
  }

  .password-intro {
    font-size: 0.88rem;
    margin-bottom: 20px;
  }

  .password-settings {
    gap: 15px;
    padding: 16px;
  }

  .password-count-buttons {
    justify-content: center;
  }

  .password-generator-box {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .password-actions-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .password-btn-primary,
  .password-btn-secondary {
    padding: 12px 16px;
    font-size: 0.9rem;
  }

  .password-output {
    font-size: 0.85rem;
    padding: 18px;
    letter-spacing: 1px;
    min-height: 60px;
    max-height: 350px;
  }

  .password-item {
    gap: 10px;
    padding: 12px;
  }

  .password-value {
    font-size: 0.88rem;
  }

  .password-copy-single-btn {
    font-size: 0.8rem;
    padding: 7px 10px;
  }

  .password-entropy {
    font-size: 0.88rem;
  }

  .password-feedback-message {
    font-size: 0.85rem;
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .password-card-content {
    padding: 16px 10px;
  }

  .password-card-content h1 {
    font-size: 1.3rem;
  }

  .password-intro {
    font-size: 0.85rem;
  }

  .password-settings {
    padding: 14px;
  }

  .password-output {
    font-size: 0.85rem;
    padding: 16px;
    letter-spacing: 0.5px;
  }

  .password-btn-primary,
  .password-btn-secondary {
    padding: 11px 14px;
    font-size: 0.88rem;
  }
}